import requests

url = 'https://fanyi.baidu.com/sug'
word = 'accelerate'
data = {
    'kw': word
}
with requests.post(url, data) as response:
    print(response.json())
    print(response.status_code)
    print(response.headers)
    print(response.text)
